package com.taomeng.dao;

import com.taomeng.entity.Permission;

import java.util.List;

public interface IPermissionDao {
    List<Permission> findUserPermissionsByLoginUserId(Long id);

    List<Permission> getAll();

    List<Permission> findPermissionsByRoleId(Long id);
}
